﻿namespace NotebookS2
{
    partial class SalesInvoice
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>b
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SalesInvoice));
            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject();
            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject();
            this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
            this.IconList = new System.Windows.Forms.ImageList(this.components);
            this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
            this.barManager1 = new DevExpress.XtraBars.BarManager(this.components);
            this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
            this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
            this.CloseDocument = new System.Windows.Forms.ToolStripMenuItem();
            this.CancelDocument = new System.Windows.Forms.ToolStripMenuItem();
            this.MktgDocContext = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.timerInfo = new System.Windows.Forms.Timer(this.components);
            this.ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl();
            this.imageList1 = new System.Windows.Forms.ImageList(this.components);
            this.barCopyToSO = new DevExpress.XtraBars.BarButtonItem();
            this.barSalesInvoice = new DevExpress.XtraBars.BarButtonItem();
            this.barSalesDelivery = new DevExpress.XtraBars.BarButtonItem();
            this.barSalesReturn = new DevExpress.XtraBars.BarButtonItem();
            this.barSalesCreditMemo = new DevExpress.XtraBars.BarButtonItem();
            this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
            this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.popUpCopyWizard = new DevExpress.XtraBars.PopupMenu(this.components);
            this.barDockControl1 = new DevExpress.XtraBars.BarDockControl();
            this.imageList2 = new System.Windows.Forms.ImageList(this.components);
            this.barDockControl2 = new DevExpress.XtraBars.BarDockControl();
            this.barManager2 = new DevExpress.XtraBars.BarManager(this.components);
            this.barDockControl3 = new DevExpress.XtraBars.BarDockControl();
            this.barDockControl4 = new DevExpress.XtraBars.BarDockControl();
            this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
            this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.timer1 = new System.Windows.Forms.Timer(this.components);
            this.xtrInvoiceScrollable = new DevExpress.XtraEditors.XtraScrollableControl();
            this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
            this.tabDetails = new DevExpress.XtraTab.XtraTabPage();
            this.xtraScrollableControl1 = new DevExpress.XtraEditors.XtraScrollableControl();
            this.label1 = new System.Windows.Forms.Label();
            this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
            this.lblRemarks = new DevExpress.XtraEditors.LabelControl();
            this.lblShipTo = new System.Windows.Forms.Label();
            this.btnCopyToSR = new DevExpress.XtraEditors.SimpleButton();
            this.lblSalesMan = new DevExpress.XtraEditors.LabelControl();
            this.gridControlSI = new DevExpress.XtraGrid.GridControl();
            this.gridViewSI = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.RowColNum = new DevExpress.XtraGrid.Columns.GridColumn();
            this.Code = new DevExpress.XtraGrid.Columns.GridColumn();
            this.btnSearchItemCode = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
            this.Description = new DevExpress.XtraGrid.Columns.GridColumn();
            this.UnitMeasure = new DevExpress.XtraGrid.Columns.GridColumn();
            this.cboUnitMeasure = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
            this.UnitPrice = new DevExpress.XtraGrid.Columns.GridColumn();
            this.Quantity = new DevExpress.XtraGrid.Columns.GridColumn();
            this.txtQty = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
            this.CQtyOrder = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colLotNumber = new DevExpress.XtraGrid.Columns.GridColumn();
            this.cboLotNumber = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
            this.QtyServed = new DevExpress.XtraGrid.Columns.GridColumn();
            this.CQty = new DevExpress.XtraGrid.Columns.GridColumn();
            this.Free = new DevExpress.XtraGrid.Columns.GridColumn();
            this.chkFree = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
            this.Discount = new DevExpress.XtraGrid.Columns.GridColumn();
            this.txtLineDiscPercent = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
            this.LineDisc = new DevExpress.XtraGrid.Columns.GridColumn();
            this.txtLineDiscount = new DevExpress.XtraEditors.Repository.RepositoryItemCalcEdit();
            this.TotalLineDisc = new DevExpress.XtraGrid.Columns.GridColumn();
            this.Amount = new DevExpress.XtraGrid.Columns.GridColumn();
            this.GuID = new DevExpress.XtraGrid.Columns.GridColumn();
            this.PriceListCode = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colUnitCost = new DevExpress.XtraGrid.Columns.GridColumn();
            this.txtStoreCode = new DevExpress.XtraEditors.ButtonEdit();
            this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
            this.lblWithHoldingTax = new System.Windows.Forms.Label();
            this.lblTotalLineDiscount = new System.Windows.Forms.Label();
            this.lblDocumentDate = new DevExpress.XtraEditors.LabelControl();
            this.lblVAT = new System.Windows.Forms.Label();
            this.txtBillTo = new DevExpress.XtraEditors.MemoEdit();
            this.lblGrossAmount = new System.Windows.Forms.Label();
            this.lblReference = new DevExpress.XtraEditors.LabelControl();
            this.lblDiscount = new System.Windows.Forms.Label();
            this.lblValidUntilDeliveryDate = new DevExpress.XtraEditors.LabelControl();
            this.lblContactPerson = new DevExpress.XtraEditors.LabelControl();
            this.lblNetAmt = new System.Windows.Forms.Label();
            this.cboLocation = new DevExpress.XtraEditors.LookUpEdit();
            this.lblBPName = new DevExpress.XtraEditors.LabelControl();
            this.lblPostDate = new DevExpress.XtraEditors.LabelControl();
            this.lblBPCode = new DevExpress.XtraEditors.LabelControl();
            this.txtShipTo = new DevExpress.XtraEditors.MemoEdit();
            this.lblWarehouse = new System.Windows.Forms.Label();
            this.lblDocStatus = new DevExpress.XtraEditors.LabelControl();
            this.cboDocument = new DevExpress.XtraEditors.ComboBoxEdit();
            this.lblSeries = new DevExpress.XtraEditors.LabelControl();
            this.txtCardName = new DevExpress.XtraEditors.TextEdit();
            this.lblDocNo = new DevExpress.XtraEditors.LabelControl();
            this.txtCustRefPO = new DevExpress.XtraEditors.TextEdit();
            this.txtContactPerson = new DevExpress.XtraEditors.TextEdit();
            this.txtDocumentNumber = new DevExpress.XtraEditors.TextEdit();
            this.txtRefDoc = new DevExpress.XtraEditors.TextEdit();
            this.txtPaymentTerms = new System.Windows.Forms.TextBox();
            this.txtDivision = new DevExpress.XtraEditors.TextEdit();
            this.dtPostDate = new DevExpress.XtraEditors.DateEdit();
            this.txtReference = new DevExpress.XtraEditors.ButtonEdit();
            this.dtDeliveryDate = new DevExpress.XtraEditors.DateEdit();
            this.txtStatus = new DevExpress.XtraEditors.ButtonEdit();
            this.dtDocDate = new DevExpress.XtraEditors.DateEdit();
            this.txtCardCode = new DevExpress.XtraEditors.ButtonEdit();
            this.txtGrossAmount = new DevExpress.XtraEditors.TextEdit();
            this.txtDisc1 = new DevExpress.XtraEditors.TextEdit();
            this.cboSalesman = new DevExpress.XtraEditors.LookUpEdit();
            this.txtDisc2 = new DevExpress.XtraEditors.TextEdit();
            this.btnCancel = new DevExpress.XtraEditors.SimpleButton();
            this.txtDisc3 = new DevExpress.XtraEditors.TextEdit();
            this.btnAdd = new DevExpress.XtraEditors.SimpleButton();
            this.txtDisc4 = new DevExpress.XtraEditors.TextEdit();
            this.txtNetAmt = new DevExpress.XtraEditors.TextEdit();
            this.txtRemarks = new DevExpress.XtraEditors.MemoEdit();
            this.txtTotalLineDiscount = new DevExpress.XtraEditors.TextEdit();
            this.txtTotalDiscount = new DevExpress.XtraEditors.TextEdit();
            this.txtWithHoldingTax = new DevExpress.XtraEditors.TextEdit();
            this.txtVAT = new DevExpress.XtraEditors.TextEdit();
            this.tabGLAccounts = new DevExpress.XtraTab.XtraTabPage();
            this.gridInvAcctEntries = new DevExpress.XtraGrid.GridControl();
            this.gridViewInvAcctEntries = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.AcctCode = new DevExpress.XtraGrid.Columns.GridColumn();
            this.txtAcctCode = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
            this.AcctName = new DevExpress.XtraGrid.Columns.GridColumn();
            this.Particulars = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colDebit = new DevExpress.XtraGrid.Columns.GridColumn();
            this.txtAmount = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
            this.colCredit = new DevExpress.XtraGrid.Columns.GridColumn();
            this.ribbonCtlAR = new DevExpress.XtraBars.Ribbon.RibbonControl();
            this.barSaveARDistribution = new DevExpress.XtraBars.BarButtonItem();
            this.barClear = new DevExpress.XtraBars.BarButtonItem();
            this.barPostEntries = new DevExpress.XtraBars.BarButtonItem();
            this.barNewEntry = new DevExpress.XtraBars.BarButtonItem();
            this.ribbonARInvoiceGLMenu = new DevExpress.XtraBars.Ribbon.RibbonPage();
            this.ribbonDataGroup = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.cntxtRightClickMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.duplicateToolMenu = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
            this.distributionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.addRowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.insertNewRowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.deleteRowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.copyToReturnMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStrip1 = new System.Windows.Forms.ToolStrip();
            ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
            this.MktgDocContext.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.popUpCopyWizard)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.barManager2)).BeginInit();
            this.contextMenuStrip1.SuspendLayout();
            this.xtrInvoiceScrollable.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
            this.xtraTabControl1.SuspendLayout();
            this.tabDetails.SuspendLayout();
            this.xtraScrollableControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gridControlSI)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridViewSI)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnSearchItemCode)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cboUnitMeasure)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtQty)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cboLotNumber)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkFree)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtLineDiscPercent)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtLineDiscount)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtStoreCode.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtBillTo.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cboLocation.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtShipTo.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cboDocument.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtCardName.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtCustRefPO.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtContactPerson.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtDocumentNumber.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtRefDoc.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtDivision.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtPostDate.Properties.CalendarTimeProperties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtPostDate.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtReference.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtDeliveryDate.Properties.CalendarTimeProperties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtDeliveryDate.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtStatus.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtDocDate.Properties.CalendarTimeProperties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtDocDate.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtCardCode.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtGrossAmount.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtDisc1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cboSalesman.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtDisc2.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtDisc3.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtDisc4.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtNetAmt.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtRemarks.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtTotalLineDiscount.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtTotalDiscount.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtWithHoldingTax.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtVAT.Properties)).BeginInit();
            this.tabGLAccounts.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gridInvAcctEntries)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridViewInvAcctEntries)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtAcctCode)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtAmount)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ribbonCtlAR)).BeginInit();
            this.cntxtRightClickMenu.SuspendLayout();
            this.SuspendLayout();
            // 
            // barDockControlLeft
            // 
            this.barDockControlLeft.CausesValidation = false;
            this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
            this.barDockControlLeft.Location = new System.Drawing.Point(0, 0);
            this.barDockControlLeft.Size = new System.Drawing.Size(0, 569);
            // 
            // IconList
            // 
            this.IconList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("IconList.ImageStream")));
            this.IconList.TransparentColor = System.Drawing.Color.Transparent;
            this.IconList.Images.SetKeyName(0, "Add.png");
            // 
            // barDockControlBottom
            // 
            this.barDockControlBottom.CausesValidation = false;
            this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.barDockControlBottom.Location = new System.Drawing.Point(0, 569);
            this.barDockControlBottom.Size = new System.Drawing.Size(911, 0);
            // 
            // barManager1
            // 
            this.barManager1.DockControls.Add(this.barDockControlTop);
            this.barManager1.DockControls.Add(this.barDockControlBottom);
            this.barManager1.DockControls.Add(this.barDockControlLeft);
            this.barManager1.DockControls.Add(this.barDockControlRight);
            this.barManager1.Form = this;
            this.barManager1.MaxItemId = 0;
            // 
            // barDockControlTop
            // 
            this.barDockControlTop.CausesValidation = false;
            this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
            this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
            this.barDockControlTop.Size = new System.Drawing.Size(911, 0);
            // 
            // barDockControlRight
            // 
            this.barDockControlRight.CausesValidation = false;
            this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
            this.barDockControlRight.Location = new System.Drawing.Point(911, 0);
            this.barDockControlRight.Size = new System.Drawing.Size(0, 569);
            // 
            // CloseDocument
            // 
            this.CloseDocument.Name = "CloseDocument";
            this.CloseDocument.Size = new System.Drawing.Size(169, 22);
            this.CloseDocument.Text = "Close Document";
            // 
            // CancelDocument
            // 
            this.CancelDocument.Name = "CancelDocument";
            this.CancelDocument.Size = new System.Drawing.Size(169, 22);
            this.CancelDocument.Text = "Cancel Document";
            // 
            // MktgDocContext
            // 
            this.MktgDocContext.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.CancelDocument,
            this.CloseDocument});
            this.MktgDocContext.Name = "SalesOrderContext";
            this.MktgDocContext.Size = new System.Drawing.Size(170, 48);
            // 
            // timerInfo
            // 
            this.timerInfo.Interval = 15000;
            // 
            // ribbonControl1
            // 
            this.ribbonControl1.ExpandCollapseItem.Id = 0;
            this.ribbonControl1.Images = this.imageList1;
            this.ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
            this.ribbonControl1.ExpandCollapseItem,
            this.barCopyToSO,
            this.barSalesInvoice,
            this.barSalesDelivery,
            this.barSalesReturn,
            this.barSalesCreditMemo});
            this.ribbonControl1.LargeImages = this.imageList1;
            this.ribbonControl1.Location = new System.Drawing.Point(0, 0);
            this.ribbonControl1.MaxItemId = 6;
            this.ribbonControl1.Name = "ribbonControl1";
            this.ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
            this.ribbonPage1});
            this.ribbonControl1.Size = new System.Drawing.Size(911, 49);
            this.ribbonControl1.Click += new System.EventHandler(this.ribbonControl1_Click);
            // 
            // imageList1
            // 
            this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList1.Images.SetKeyName(0, "Window.png");
            this.imageList1.Images.SetKeyName(1, "1285952834_Printer-64.ico");
            this.imageList1.Images.SetKeyName(2, "Add.png");
            this.imageList1.Images.SetKeyName(3, "Address_Book.png");
            this.imageList1.Images.SetKeyName(4, "Alert.png");
            this.imageList1.Images.SetKeyName(5, "Calender.png");
            this.imageList1.Images.SetKeyName(6, "Clock.png");
            this.imageList1.Images.SetKeyName(7, "Close.png");
            this.imageList1.Images.SetKeyName(8, "Computer.png");
            this.imageList1.Images.SetKeyName(9, "Contact.png");
            this.imageList1.Images.SetKeyName(10, "Database.png");
            this.imageList1.Images.SetKeyName(11, "Delete.png");
            this.imageList1.Images.SetKeyName(12, "Down.png");
            this.imageList1.Images.SetKeyName(13, "Edit.png");
            this.imageList1.Images.SetKeyName(14, "Flag.png");
            this.imageList1.Images.SetKeyName(15, "Floppy.png");
            this.imageList1.Images.SetKeyName(16, "Folder.png");
            this.imageList1.Images.SetKeyName(17, "Folder_Open.png");
            this.imageList1.Images.SetKeyName(18, "Forward.png");
            this.imageList1.Images.SetKeyName(19, "Help.png");
            this.imageList1.Images.SetKeyName(20, "Home.png");
            this.imageList1.Images.SetKeyName(21, "Info.png");
            this.imageList1.Images.SetKeyName(22, "Lock.png");
            this.imageList1.Images.SetKeyName(23, "Mail.png");
            this.imageList1.Images.SetKeyName(24, "Mail_Read.png");
            this.imageList1.Images.SetKeyName(25, "Paste.png");
            this.imageList1.Images.SetKeyName(26, "Pictures.png");
            this.imageList1.Images.SetKeyName(27, "Portfolio.png");
            this.imageList1.Images.SetKeyName(28, "Redo.png");
            this.imageList1.Images.SetKeyName(29, "Refresh.png");
            this.imageList1.Images.SetKeyName(30, "RSS.png");
            this.imageList1.Images.SetKeyName(31, "Search.png");
            this.imageList1.Images.SetKeyName(32, "Security.png");
            this.imageList1.Images.SetKeyName(33, "Speaker.png");
            this.imageList1.Images.SetKeyName(34, "Stationery.png");
            this.imageList1.Images.SetKeyName(35, "Stats.png");
            this.imageList1.Images.SetKeyName(36, "Stop.png");
            this.imageList1.Images.SetKeyName(37, "Tag.png");
            this.imageList1.Images.SetKeyName(38, "Template.png");
            this.imageList1.Images.SetKeyName(39, "Tip.png");
            this.imageList1.Images.SetKeyName(40, "Tools.png");
            this.imageList1.Images.SetKeyName(41, "Tutorial.png");
            this.imageList1.Images.SetKeyName(42, "Undo.png");
            this.imageList1.Images.SetKeyName(43, "Up.png");
            this.imageList1.Images.SetKeyName(44, "User.png");
            this.imageList1.Images.SetKeyName(45, "Web.png");
            this.imageList1.Images.SetKeyName(46, "Wizard.png");
            this.imageList1.Images.SetKeyName(47, "Write.png");
            this.imageList1.Images.SetKeyName(48, "Accept-database-32.png");
            this.imageList1.Images.SetKeyName(49, "Banknote-32.png");
            this.imageList1.Images.SetKeyName(50, "Bar-chart-32.png");
            this.imageList1.Images.SetKeyName(51, "Blue-Truck-32.png");
            this.imageList1.Images.SetKeyName(52, "Boxes-32.png");
            this.imageList1.Images.SetKeyName(53, "Boxes-Self-32.png");
            this.imageList1.Images.SetKeyName(54, "Caargo-32.png");
            this.imageList1.Images.SetKeyName(55, "Calculator-32.png");
            this.imageList1.Images.SetKeyName(56, "Cash-32.PNG");
            this.imageList1.Images.SetKeyName(57, "Cash-32B.png");
            this.imageList1.Images.SetKeyName(58, "Cashier-48.png");
            this.imageList1.Images.SetKeyName(59, "Cash-Register-2-32.png");
            this.imageList1.Images.SetKeyName(60, "Cash-register-32.png");
            this.imageList1.Images.SetKeyName(61, "Cash-Stack-32.png");
            this.imageList1.Images.SetKeyName(62, "Cash-Terminal-32.png");
            this.imageList1.Images.SetKeyName(63, "Chart-Bar-32.png");
            this.imageList1.Images.SetKeyName(64, "Chart-Down-Color-32.png");
            this.imageList1.Images.SetKeyName(65, "Chart-Up-Color-32.png");
            this.imageList1.Images.SetKeyName(66, "Coins-32.png");
            this.imageList1.Images.SetKeyName(67, "Custom-reports-32.png");
            this.imageList1.Images.SetKeyName(68, "Distributor-report-32.png");
            this.imageList1.Images.SetKeyName(69, "Evergreen-Truck-32.png");
            this.imageList1.Images.SetKeyName(70, "Fedex-Boxes-32.png");
            this.imageList1.Images.SetKeyName(71, "find_16.png");
            this.imageList1.Images.SetKeyName(72, "Forklift-32.png");
            this.imageList1.Images.SetKeyName(73, "Forklift-Boxes-32(1).png");
            this.imageList1.Images.SetKeyName(74, "Forklift-Boxes-32.png");
            this.imageList1.Images.SetKeyName(75, "Forklift-Cargo-32.png");
            this.imageList1.Images.SetKeyName(76, "Forklift-Containers-32.png");
            this.imageList1.Images.SetKeyName(77, "Forklift-Up-32.png");
            this.imageList1.Images.SetKeyName(78, "Handle-32.png");
            this.imageList1.Images.SetKeyName(79, "Invoice-32.png");
            this.imageList1.Images.SetKeyName(80, "Invoice-32B.png");
            this.imageList1.Images.SetKeyName(81, "Item-configuration-32.png");
            this.imageList1.Images.SetKeyName(82, "Lift Truck-32x32.png");
            this.imageList1.Images.SetKeyName(83, "Lift-Truck-32.png");
            this.imageList1.Images.SetKeyName(84, "Line-chart-32.png");
            this.imageList1.Images.SetKeyName(85, "Maintenance-32.png");
            this.imageList1.Images.SetKeyName(86, "Medical-invoice-information-32.png");
            this.imageList1.Images.SetKeyName(87, "Order-history-32.png");
            this.imageList1.Images.SetKeyName(88, "Ordering-32.png");
            this.imageList1.Images.SetKeyName(89, "Packing-32.png");
            this.imageList1.Images.SetKeyName(90, "Piechart-32.png");
            this.imageList1.Images.SetKeyName(91, "Pie-chart-32.png");
            this.imageList1.Images.SetKeyName(92, "PowerBook-G4-15in-32.png");
            this.imageList1.Images.SetKeyName(93, "Purchase-Order-32.PNG");
            this.imageList1.Images.SetKeyName(94, "Red-Cargo-Boxes-32.png");
            this.imageList1.Images.SetKeyName(95, "Register-32.png");
            this.imageList1.Images.SetKeyName(96, "Reports-32.png");
            this.imageList1.Images.SetKeyName(97, "Select-language-32.png");
            this.imageList1.Images.SetKeyName(98, "Sign-up-32.png");
            this.imageList1.Images.SetKeyName(99, "Trash-Container-32.png");
            this.imageList1.Images.SetKeyName(100, "Upline-32.png");
            this.imageList1.Images.SetKeyName(101, "UPS-Boxes-32.png");
            this.imageList1.Images.SetKeyName(102, "Wood-Container-32.png");
            this.imageList1.Images.SetKeyName(103, "Industry-32.png");
            this.imageList1.Images.SetKeyName(104, "Company-32.png");
            this.imageList1.Images.SetKeyName(105, "Factory-32.png");
            this.imageList1.Images.SetKeyName(106, "New-File-32.png");
            this.imageList1.Images.SetKeyName(107, "Newspaper-Add-32.png");
            this.imageList1.Images.SetKeyName(108, "Newspaper-close-32.png");
            this.imageList1.Images.SetKeyName(109, "Newspaper-search-32.png");
            this.imageList1.Images.SetKeyName(110, "User-business-search-32.png");
            this.imageList1.Images.SetKeyName(111, "User-close-32.png");
            this.imageList1.Images.SetKeyName(112, "Key_32.png");
            this.imageList1.Images.SetKeyName(113, "Money-Bag-32.png");
            this.imageList1.Images.SetKeyName(114, "Red-Sale-Label-32.png");
            this.imageList1.Images.SetKeyName(115, "Shopping-Cart-Full-Of-Gifts-32.png");
            this.imageList1.Images.SetKeyName(116, "Strong box money-32x32.png");
            this.imageList1.Images.SetKeyName(117, "Document-Comments-32.png");
            this.imageList1.Images.SetKeyName(118, "Document-Properties-32.png");
            this.imageList1.Images.SetKeyName(119, "Mobile-Tools-32.png");
            this.imageList1.Images.SetKeyName(120, "Safety-Box-32.png");
            this.imageList1.Images.SetKeyName(121, "Tool-Box-Preferences-32.png");
            this.imageList1.Images.SetKeyName(122, "User_32.png");
            this.imageList1.Images.SetKeyName(123, "User-close-add-32.png");
            this.imageList1.Images.SetKeyName(124, "User-Delete-32.png");
            this.imageList1.Images.SetKeyName(125, "User-full-add-32.png");
            this.imageList1.Images.SetKeyName(126, "User-half-32.png");
            this.imageList1.Images.SetKeyName(127, "User-half-edit-32.png");
            this.imageList1.Images.SetKeyName(128, "DiaryPlain-32.png");
            this.imageList1.Images.SetKeyName(129, "Application-From-Storage-32.png");
            this.imageList1.Images.SetKeyName(130, "Configuration-32.png");
            this.imageList1.Images.SetKeyName(131, "Supervisor-32x32.png");
            this.imageList1.Images.SetKeyName(132, "User_32(2).png");
            this.imageList1.Images.SetKeyName(133, "User-32.png");
            this.imageList1.Images.SetKeyName(134, "user_32(1).png");
            // 
            // barCopyToSO
            // 
            this.barCopyToSO.Caption = "Sales Order";
            this.barCopyToSO.Id = 1;
            this.barCopyToSO.LargeImageIndex = 106;
            this.barCopyToSO.Name = "barCopyToSO";
            // 
            // barSalesInvoice
            // 
            this.barSalesInvoice.Caption = "Sales Invoice";
            this.barSalesInvoice.Id = 2;
            this.barSalesInvoice.Name = "barSalesInvoice";
            // 
            // barSalesDelivery
            // 
            this.barSalesDelivery.Caption = "Delivery";
            this.barSalesDelivery.Id = 3;
            this.barSalesDelivery.LargeImageIndex = 75;
            this.barSalesDelivery.Name = "barSalesDelivery";
            // 
            // barSalesReturn
            // 
            this.barSalesReturn.Caption = "Return";
            this.barSalesReturn.Id = 4;
            this.barSalesReturn.LargeImageIndex = 102;
            this.barSalesReturn.Name = "barSalesReturn";
            // 
            // barSalesCreditMemo
            // 
            this.barSalesCreditMemo.Caption = "Credit Memo";
            this.barSalesCreditMemo.Id = 5;
            this.barSalesCreditMemo.LargeImageIndex = 64;
            this.barSalesCreditMemo.Name = "barSalesCreditMemo";
            // 
            // ribbonPage1
            // 
            this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
            this.ribbonPageGroup1});
            this.ribbonPage1.Name = "ribbonPage1";
            this.ribbonPage1.Text = "ribbonPage1";
            // 
            // ribbonPageGroup1
            // 
            this.ribbonPageGroup1.Name = "ribbonPageGroup1";
            this.ribbonPageGroup1.Text = "ribbonPageGroup1";
            // 
            // popUpCopyWizard
            // 
            this.popUpCopyWizard.ItemLinks.Add(this.barCopyToSO);
            this.popUpCopyWizard.ItemLinks.Add(this.barSalesDelivery);
            this.popUpCopyWizard.ItemLinks.Add(this.barSalesInvoice);
            this.popUpCopyWizard.ItemLinks.Add(this.barSalesReturn);
            this.popUpCopyWizard.ItemLinks.Add(this.barSalesCreditMemo);
            this.popUpCopyWizard.Name = "popUpCopyWizard";
            this.popUpCopyWizard.Ribbon = this.ribbonControl1;
            // 
            // barDockControl1
            // 
            this.barDockControl1.CausesValidation = false;
            this.barDockControl1.Dock = System.Windows.Forms.DockStyle.Left;
            this.barDockControl1.Location = new System.Drawing.Point(0, 0);
            this.barDockControl1.Size = new System.Drawing.Size(0, 569);
            // 
            // imageList2
            // 
            this.imageList2.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream")));
            this.imageList2.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList2.Images.SetKeyName(0, "Add.png");
            // 
            // barDockControl2
            // 
            this.barDockControl2.CausesValidation = false;
            this.barDockControl2.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.barDockControl2.Location = new System.Drawing.Point(0, 569);
            this.barDockControl2.Size = new System.Drawing.Size(911, 0);
            // 
            // barManager2
            // 
            this.barManager2.DockControls.Add(this.barDockControl3);
            this.barManager2.DockControls.Add(this.barDockControl2);
            this.barManager2.DockControls.Add(this.barDockControl1);
            this.barManager2.DockControls.Add(this.barDockControl4);
            this.barManager2.Form = this;
            this.barManager2.MaxItemId = 0;
            // 
            // barDockControl3
            // 
            this.barDockControl3.CausesValidation = false;
            this.barDockControl3.Dock = System.Windows.Forms.DockStyle.Top;
            this.barDockControl3.Location = new System.Drawing.Point(0, 0);
            this.barDockControl3.Size = new System.Drawing.Size(911, 0);
            // 
            // barDockControl4
            // 
            this.barDockControl4.CausesValidation = false;
            this.barDockControl4.Dock = System.Windows.Forms.DockStyle.Right;
            this.barDockControl4.Location = new System.Drawing.Point(911, 0);
            this.barDockControl4.Size = new System.Drawing.Size(0, 569);
            // 
            // toolStripMenuItem1
            // 
            this.toolStripMenuItem1.Name = "toolStripMenuItem1";
            this.toolStripMenuItem1.Size = new System.Drawing.Size(169, 22);
            this.toolStripMenuItem1.Text = "Close Document";
            // 
            // toolStripMenuItem2
            // 
            this.toolStripMenuItem2.Name = "toolStripMenuItem2";
            this.toolStripMenuItem2.Size = new System.Drawing.Size(169, 22);
            this.toolStripMenuItem2.Text = "Cancel Document";
            // 
            // contextMenuStrip1
            // 
            this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripMenuItem2,
            this.toolStripMenuItem1});
            this.contextMenuStrip1.Name = "SalesOrderContext";
            this.contextMenuStrip1.Size = new System.Drawing.Size(170, 48);
            // 
            // timer1
            // 
            this.timer1.Interval = 15000;
            // 
            // xtrInvoiceScrollable
            // 
            this.xtrInvoiceScrollable.AllowTouchScroll = true;
            this.xtrInvoiceScrollable.Controls.Add(this.xtraTabControl1);
            this.xtrInvoiceScrollable.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xtrInvoiceScrollable.Location = new System.Drawing.Point(0, 74);
            this.xtrInvoiceScrollable.Name = "xtrInvoiceScrollable";
            this.xtrInvoiceScrollable.Size = new System.Drawing.Size(911, 495);
            this.xtrInvoiceScrollable.TabIndex = 58;
            this.xtrInvoiceScrollable.Click += new System.EventHandler(this.xtrInvoiceScrollable_Click);
            // 
            // xtraTabControl1
            // 
            this.xtraTabControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
            this.xtraTabControl1.BorderStylePage = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
            this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xtraTabControl1.HeaderLocation = DevExpress.XtraTab.TabHeaderLocation.Left;
            this.xtraTabControl1.Location = new System.Drawing.Point(0, 0);
            this.xtraTabControl1.Name = "xtraTabControl1";
            this.xtraTabControl1.SelectedTabPage = this.tabDetails;
            this.xtraTabControl1.ShowTabHeader = DevExpress.Utils.DefaultBoolean.True;
            this.xtraTabControl1.Size = new System.Drawing.Size(911, 495);
            this.xtraTabControl1.TabIndex = 58;
            this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
            this.tabDetails,
            this.tabGLAccounts});
            // 
            // tabDetails
            // 
            this.tabDetails.Controls.Add(this.xtraScrollableControl1);
            this.tabDetails.Name = "tabDetails";
            this.tabDetails.Size = new System.Drawing.Size(886, 493);
            this.tabDetails.Text = "Details";
            // 
            // xtraScrollableControl1
            // 
            this.xtraScrollableControl1.Controls.Add(this.label1);
            this.xtraScrollableControl1.Controls.Add(this.labelControl4);
            this.xtraScrollableControl1.Controls.Add(this.lblRemarks);
            this.xtraScrollableControl1.Controls.Add(this.lblShipTo);
            this.xtraScrollableControl1.Controls.Add(this.btnCopyToSR);
            this.xtraScrollableControl1.Controls.Add(this.lblSalesMan);
            this.xtraScrollableControl1.Controls.Add(this.gridControlSI);
            this.xtraScrollableControl1.Controls.Add(this.txtStoreCode);
            this.xtraScrollableControl1.Controls.Add(this.labelControl1);
            this.xtraScrollableControl1.Controls.Add(this.lblWithHoldingTax);
            this.xtraScrollableControl1.Controls.Add(this.lblTotalLineDiscount);
            this.xtraScrollableControl1.Controls.Add(this.lblDocumentDate);
            this.xtraScrollableControl1.Controls.Add(this.lblVAT);
            this.xtraScrollableControl1.Controls.Add(this.txtBillTo);
            this.xtraScrollableControl1.Controls.Add(this.lblGrossAmount);
            this.xtraScrollableControl1.Controls.Add(this.lblReference);
            this.xtraScrollableControl1.Controls.Add(this.lblDiscount);
            this.xtraScrollableControl1.Controls.Add(this.lblValidUntilDeliveryDate);
            this.xtraScrollableControl1.Controls.Add(this.lblContactPerson);
            this.xtraScrollableControl1.Controls.Add(this.lblNetAmt);
            this.xtraScrollableControl1.Controls.Add(this.cboLocation);
            this.xtraScrollableControl1.Controls.Add(this.lblBPName);
            this.xtraScrollableControl1.Controls.Add(this.lblPostDate);
            this.xtraScrollableControl1.Controls.Add(this.lblBPCode);
            this.xtraScrollableControl1.Controls.Add(this.txtShipTo);
            this.xtraScrollableControl1.Controls.Add(this.lblWarehouse);
            this.xtraScrollableControl1.Controls.Add(this.lblDocStatus);
            this.xtraScrollableControl1.Controls.Add(this.cboDocument);
            this.xtraScrollableControl1.Controls.Add(this.lblSeries);
            this.xtraScrollableControl1.Controls.Add(this.txtCardName);
            this.xtraScrollableControl1.Controls.Add(this.lblDocNo);
            this.xtraScrollableControl1.Controls.Add(this.txtCustRefPO);
            this.xtraScrollableControl1.Controls.Add(this.txtContactPerson);
            this.xtraScrollableControl1.Controls.Add(this.txtDocumentNumber);
            this.xtraScrollableControl1.Controls.Add(this.txtRefDoc);
            this.xtraScrollableControl1.Controls.Add(this.txtPaymentTerms);
            this.xtraScrollableControl1.Controls.Add(this.txtDivision);
            this.xtraScrollableControl1.Controls.Add(this.dtPostDate);
            this.xtraScrollableControl1.Controls.Add(this.txtReference);
            this.xtraScrollableControl1.Controls.Add(this.dtDeliveryDate);
            this.xtraScrollableControl1.Controls.Add(this.txtStatus);
            this.xtraScrollableControl1.Controls.Add(this.dtDocDate);
            this.xtraScrollableControl1.Controls.Add(this.txtCardCode);
            this.xtraScrollableControl1.Controls.Add(this.txtGrossAmount);
            this.xtraScrollableControl1.Controls.Add(this.txtDisc1);
            this.xtraScrollableControl1.Controls.Add(this.cboSalesman);
            this.xtraScrollableControl1.Controls.Add(this.txtDisc2);
            this.xtraScrollableControl1.Controls.Add(this.btnCancel);
            this.xtraScrollableControl1.Controls.Add(this.txtDisc3);
            this.xtraScrollableControl1.Controls.Add(this.btnAdd);
            this.xtraScrollableControl1.Controls.Add(this.txtDisc4);
            this.xtraScrollableControl1.Controls.Add(this.txtNetAmt);
            this.xtraScrollableControl1.Controls.Add(this.txtRemarks);
            this.xtraScrollableControl1.Controls.Add(this.txtTotalLineDiscount);
            this.xtraScrollableControl1.Controls.Add(this.txtTotalDiscount);
            this.xtraScrollableControl1.Controls.Add(this.txtWithHoldingTax);
            this.xtraScrollableControl1.Controls.Add(this.txtVAT);
            this.xtraScrollableControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xtraScrollableControl1.Location = new System.Drawing.Point(0, 0);
            this.xtraScrollableControl1.Name = "xtraScrollableControl1";
            this.xtraScrollableControl1.Size = new System.Drawing.Size(886, 493);
            this.xtraScrollableControl1.TabIndex = 58;
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(434, 90);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(40, 13);
            this.label1.TabIndex = 48;
            this.label1.Text = "Terms:";
            // 
            // labelControl4
            // 
            this.labelControl4.Location = new System.Drawing.Point(239, 90);
            this.labelControl4.Name = "labelControl4";
            this.labelControl4.Size = new System.Drawing.Size(75, 13);
            this.labelControl4.TabIndex = 8;
            this.labelControl4.Text = "Cust. Ref. P.O.";
            // 
            // lblRemarks
            // 
            this.lblRemarks.Location = new System.Drawing.Point(15, 403);
            this.lblRemarks.Name = "lblRemarks";
            this.lblRemarks.Size = new System.Drawing.Size(45, 13);
            this.lblRemarks.TabIndex = 52;
            this.lblRemarks.Text = "Remarks:";
            // 
            // lblShipTo
            // 
            this.lblShipTo.AutoSize = true;
            this.lblShipTo.Location = new System.Drawing.Point(236, 117);
            this.lblShipTo.Name = "lblShipTo";
            this.lblShipTo.Size = new System.Drawing.Size(46, 13);
            this.lblShipTo.TabIndex = 12;
            this.lblShipTo.Text = "&Ship To:";
            // 
            // btnCopyToSR
            // 
            this.btnCopyToSR.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat;
            this.btnCopyToSR.Location = new System.Drawing.Point(197, 475);
            this.btnCopyToSR.Name = "btnCopyToSR";
            this.btnCopyToSR.Size = new System.Drawing.Size(136, 30);
            this.btnCopyToSR.TabIndex = 57;
            this.btnCopyToSR.Text = "Copy to A/R Credit Memo";
            this.btnCopyToSR.Visible = false;
            this.btnCopyToSR.Click += new System.EventHandler(this.btnCopyToSR_Click);
            // 
            // lblSalesMan
            // 
            this.lblSalesMan.Location = new System.Drawing.Point(15, 377);
            this.lblSalesMan.Name = "lblSalesMan";
            this.lblSalesMan.Size = new System.Drawing.Size(61, 13);
            this.lblSalesMan.TabIndex = 51;
            this.lblSalesMan.Text = "Sales Agent:";
            // 
            // gridControlSI
            // 
            this.gridControlSI.Location = new System.Drawing.Point(15, 183);
            this.gridControlSI.MainView = this.gridViewSI;
            this.gridControlSI.Name = "gridControlSI";
            this.gridControlSI.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.btnSearchItemCode,
            this.txtLineDiscount,
            this.txtQty,
            this.txtLineDiscPercent,
            this.chkFree,
            this.cboUnitMeasure,
            this.cboLotNumber});
            this.gridControlSI.Size = new System.Drawing.Size(817, 184);
            this.gridControlSI.TabIndex = 26;
            this.gridControlSI.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridViewSI});
            this.gridControlSI.MouseClick += new System.Windows.Forms.MouseEventHandler(this.gridControl1_MouseClick);
            // 
            // gridViewSI
            // 
            this.gridViewSI.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.RowColNum,
            this.Code,
            this.Description,
            this.UnitMeasure,
            this.UnitPrice,
            this.Quantity,
            this.CQtyOrder,
            this.colLotNumber,
            this.QtyServed,
            this.CQty,
            this.Free,
            this.Discount,
            this.LineDisc,
            this.TotalLineDisc,
            this.Amount,
            this.GuID,
            this.PriceListCode,
            this.colUnitCost});
            this.gridViewSI.GridControl = this.gridControlSI;
            this.gridViewSI.Name = "gridViewSI";
            this.gridViewSI.OptionsCustomization.AllowFilter = false;
            this.gridViewSI.OptionsCustomization.AllowGroup = false;
            this.gridViewSI.OptionsCustomization.AllowSort = false;
            this.gridViewSI.OptionsFilter.AllowColumnMRUFilterList = false;
            this.gridViewSI.OptionsFilter.AllowFilterEditor = false;
            this.gridViewSI.OptionsFilter.AllowFilterIncrementalSearch = false;
            this.gridViewSI.OptionsFilter.AllowMRUFilterList = false;
            this.gridViewSI.OptionsFilter.AllowMultiSelectInCheckedFilterPopup = false;
            this.gridViewSI.OptionsFind.AllowFindPanel = false;
            this.gridViewSI.OptionsView.GroupFooterShowMode = DevExpress.XtraGrid.Views.Grid.GroupFooterShowMode.Hidden;
            this.gridViewSI.OptionsView.ShowGroupPanel = false;
            this.gridViewSI.OptionsView.ShowIndicator = false;
            this.gridViewSI.RowClick += new DevExpress.XtraGrid.Views.Grid.RowClickEventHandler(this.gridView1_RowClick);
            this.gridViewSI.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gridViewSI_FocusedRowChanged);
            this.gridViewSI.FocusedColumnChanged += new DevExpress.XtraGrid.Views.Base.FocusedColumnChangedEventHandler(this.gridViewSI_FocusedColumnChanged);
            this.gridViewSI.RowUpdated += new DevExpress.XtraGrid.Views.Base.RowObjectEventHandler(this.gridView1_RowUpdated);
            this.gridViewSI.CustomColumnDisplayText += new DevExpress.XtraGrid.Views.Base.CustomColumnDisplayTextEventHandler(this.gridView1_CustomColumnDisplayText);
            this.gridViewSI.KeyDown += new System.Windows.Forms.KeyEventHandler(this.gridViewSI_KeyDown);
            // 
            // RowColNum
            // 
            this.RowColNum.AppearanceCell.BackColor = System.Drawing.SystemColors.ButtonFace;
            this.RowColNum.AppearanceCell.Options.UseBackColor = true;
            this.RowColNum.Caption = "#";
            this.RowColNum.Name = "RowColNum";
            this.RowColNum.OptionsColumn.AllowEdit = false;
            this.RowColNum.OptionsColumn.AllowFocus = false;
            this.RowColNum.OptionsColumn.AllowMove = false;
            this.RowColNum.OptionsColumn.AllowShowHide = false;
            this.RowColNum.OptionsColumn.AllowSize = false;
            this.RowColNum.OptionsColumn.FixedWidth = true;
            this.RowColNum.OptionsColumn.TabStop = false;
            this.RowColNum.Visible = true;
            this.RowColNum.VisibleIndex = 0;
            this.RowColNum.Width = 24;
            // 
            // Code
            // 
            this.Code.Caption = "Code";
            this.Code.ColumnEdit = this.btnSearchItemCode;
            this.Code.FieldName = "ItemCode";
            this.Code.Name = "Code";
            this.Code.OptionsColumn.FixedWidth = true;
            this.Code.Visible = true;
            this.Code.VisibleIndex = 1;
            this.Code.Width = 61;
            // 
            // btnSearchItemCode
            // 
            this.btnSearchItemCode.AutoHeight = false;
            this.btnSearchItemCode.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.btnSearchItemCode.Name = "btnSearchItemCode";
            this.btnSearchItemCode.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.btnSearchItemCode_ButtonClick);
            this.btnSearchItemCode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.btnSearchItemCode_KeyDown);
            this.btnSearchItemCode.Leave += new System.EventHandler(this.btnSearchItemCode_Leave);
            // 
            // Description
            // 
            this.Description.Caption = "Description";
            this.Description.FieldName = "ItemDesc";
            this.Description.Name = "Description";
            this.Description.OptionsColumn.AllowEdit = false;
            this.Description.OptionsColumn.ReadOnly = true;
            this.Description.Visible = true;
            this.Description.VisibleIndex = 2;
            this.Description.Width = 198;
            // 
            // UnitMeasure
            // 
            this.UnitMeasure.Caption = "UoM";
            this.UnitMeasure.ColumnEdit = this.cboUnitMeasure;
            this.UnitMeasure.FieldName = "UoM";
            this.UnitMeasure.Name = "UnitMeasure";
            this.UnitMeasure.OptionsColumn.FixedWidth = true;
            this.UnitMeasure.Visible = true;
            this.UnitMeasure.VisibleIndex = 3;
            this.UnitMeasure.Width = 46;
            // 
            // cboUnitMeasure
            // 
            this.cboUnitMeasure.AutoHeight = false;
            this.cboUnitMeasure.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.DropDown)});
            this.cboUnitMeasure.Name = "cboUnitMeasure";
            this.cboUnitMeasure.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
            this.cboUnitMeasure.SelectedIndexChanged += new System.EventHandler(this.cboUnitMeasure_SelectedIndexChanged);
            this.cboUnitMeasure.EditValueChanged += new System.EventHandler(this.cboUnitMeasure_EditValueChanged);
            // 
            // UnitPrice
            // 
            this.UnitPrice.Caption = "Unit Price";
            this.UnitPrice.DisplayFormat.FormatString = "#,###.00";
            this.UnitPrice.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.UnitPrice.FieldName = "UnitPrice";
            this.UnitPrice.Name = "UnitPrice";
            this.UnitPrice.OptionsColumn.AllowEdit = false;
            this.UnitPrice.OptionsColumn.FixedWidth = true;
            this.UnitPrice.OptionsColumn.ReadOnly = true;
            this.UnitPrice.Visible = true;
            this.UnitPrice.VisibleIndex = 7;
            this.UnitPrice.Width = 57;
            // 
            // Quantity
            // 
            this.Quantity.Caption = "Order Qty";
            this.Quantity.ColumnEdit = this.txtQty;
            this.Quantity.DisplayFormat.FormatString = "#,###";
            this.Quantity.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.Quantity.FieldName = "QtyOrder";
            this.Quantity.Name = "Quantity";
            this.Quantity.OptionsColumn.FixedWidth = true;
            this.Quantity.Width = 59;
            // 
            // txtQty
            // 
            this.txtQty.AutoHeight = false;
            this.txtQty.Name = "txtQty";
            this.txtQty.EditValueChanged += new System.EventHandler(this.txtQty_EditValueChanged);
            this.txtQty.EditValueChanging += new DevExpress.XtraEditors.Controls.ChangingEventHandler(this.txtQty_EditValueChanging);
            this.txtQty.DragOver += new System.Windows.Forms.DragEventHandler(this.txtQty_DragOver);
            this.txtQty.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtQty_KeyDown);
            this.txtQty.Leave += new System.EventHandler(this.txtQty_Leave);
            // 
            // CQtyOrder
            // 
            this.CQtyOrder.Caption = "Order Pack Size";
            this.CQtyOrder.FieldName = "CQtyOrder";
            this.CQtyOrder.Name = "CQtyOrder";
            this.CQtyOrder.OptionsColumn.FixedWidth = true;
            this.CQtyOrder.Width = 89;
            // 
            // colLotNumber
            // 
            this.colLotNumber.Caption = "Batch/Lot#";
            this.colLotNumber.ColumnEdit = this.cboLotNumber;
            this.colLotNumber.FieldName = "LotNumber";
            this.colLotNumber.Name = "colLotNumber";
            this.colLotNumber.Visible = true;
            this.colLotNumber.VisibleIndex = 4;
            // 
            // cboLotNumber
            // 
            this.cboLotNumber.AutoHeight = false;
            this.cboLotNumber.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.cboLotNumber.Name = "cboLotNumber";
            this.cboLotNumber.SelectedIndexChanged += new System.EventHandler(this.cboLotNumber_SelectedIndexChanged);
            // 
            // QtyServed
            // 
            this.QtyServed.Caption = "Qty";
            this.QtyServed.ColumnEdit = this.txtQty;
            this.QtyServed.FieldName = "Qty";
            this.QtyServed.Name = "QtyServed";
            this.QtyServed.OptionsColumn.FixedWidth = true;
            this.QtyServed.OptionsColumn.ShowInExpressionEditor = false;
            this.QtyServed.Visible = true;
            this.QtyServed.VisibleIndex = 5;
            this.QtyServed.Width = 59;
            // 
            // CQty
            // 
            this.CQty.Caption = "Pack Size";
            this.CQty.FieldName = "CQty";
            this.CQty.Name = "CQty";
            this.CQty.OptionsColumn.FixedWidth = true;
            this.CQty.Visible = true;
            this.CQty.VisibleIndex = 6;
            this.CQty.Width = 55;
            // 
            // Free
            // 
            this.Free.Caption = "Free";
            this.Free.ColumnEdit = this.chkFree;
            this.Free.FieldName = "IsFree";
            this.Free.Name = "Free";
            this.Free.OptionsColumn.AllowEdit = false;
            this.Free.OptionsColumn.FixedWidth = true;
            this.Free.Visible = true;
            this.Free.VisibleIndex = 8;
            this.Free.Width = 36;
            // 
            // chkFree
            // 
            this.chkFree.AutoHeight = false;
            this.chkFree.Caption = "Check";
            this.chkFree.Name = "chkFree";
            this.chkFree.CheckedChanged += new System.EventHandler(this.chkFree_CheckedChanged);
            // 
            // Discount
            // 
            this.Discount.Caption = "Disc[%]";
            this.Discount.ColumnEdit = this.txtLineDiscPercent;
            this.Discount.DisplayFormat.FormatString = "#.0000";
            this.Discount.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.Discount.FieldName = "DiscPrcnt";
            this.Discount.Name = "Discount";
            this.Discount.OptionsColumn.AllowEdit = false;
            this.Discount.OptionsColumn.FixedWidth = true;
            this.Discount.Visible = true;
            this.Discount.VisibleIndex = 9;
            this.Discount.Width = 49;
            // 
            // txtLineDiscPercent
            // 
            this.txtLineDiscPercent.AutoHeight = false;
            this.txtLineDiscPercent.Name = "txtLineDiscPercent";
            this.txtLineDiscPercent.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtLineDiscPercent_KeyDown);
            this.txtLineDiscPercent.Leave += new System.EventHandler(this.txtLineDiscPercent_Leave);
            // 
            // LineDisc
            // 
            this.LineDisc.Caption = "Disc.";
            this.LineDisc.ColumnEdit = this.txtLineDiscount;
            this.LineDisc.DisplayFormat.FormatString = "#,###.0000";
            this.LineDisc.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.LineDisc.FieldName = "Discount";
            this.LineDisc.Name = "LineDisc";
            this.LineDisc.OptionsColumn.AllowEdit = false;
            this.LineDisc.OptionsColumn.FixedWidth = true;
            this.LineDisc.Visible = true;
            this.LineDisc.VisibleIndex = 10;
            this.LineDisc.Width = 47;
            // 
            // txtLineDiscount
            // 
            this.txtLineDiscount.AutoHeight = false;
            this.txtLineDiscount.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.txtLineDiscount.Name = "txtLineDiscount";
            this.txtLineDiscount.NullValuePromptShowForEmptyValue = true;
            this.txtLineDiscount.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtLineDiscount_KeyDown);
            // 
            // TotalLineDisc
            // 
            this.TotalLineDisc.Caption = "Total Disc.";
            this.TotalLineDisc.DisplayFormat.FormatString = "#,###.00";
            this.TotalLineDisc.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.TotalLineDisc.FieldName = "TotalLineDisc";
            this.TotalLineDisc.Name = "TotalLineDisc";
            this.TotalLineDisc.OptionsColumn.AllowEdit = false;
            this.TotalLineDisc.OptionsColumn.FixedWidth = true;
            this.TotalLineDisc.Visible = true;
            this.TotalLineDisc.VisibleIndex = 11;
            this.TotalLineDisc.Width = 58;
            // 
            // Amount
            // 
            this.Amount.Caption = "Amount";
            this.Amount.DisplayFormat.FormatString = "#,###.00";
            this.Amount.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.Amount.FieldName = "Amount";
            this.Amount.Name = "Amount";
            this.Amount.OptionsColumn.AllowEdit = false;
            this.Amount.OptionsColumn.FixedWidth = true;
            this.Amount.OptionsColumn.ReadOnly = true;
            this.Amount.Visible = true;
            this.Amount.VisibleIndex = 12;
            this.Amount.Width = 99;
            // 
            // GuID
            // 
            this.GuID.Caption = "ItemGuID";
            this.GuID.FieldName = "ItemGuID";
            this.GuID.Name = "GuID";
            this.GuID.OptionsColumn.FixedWidth = true;
            // 
            // PriceListCode
            // 
            this.PriceListCode.Caption = "Price List Code";
            this.PriceListCode.FieldName = "PriceListCode";
            this.PriceListCode.Name = "PriceListCode";
            // 
            // colUnitCost
            // 
            this.colUnitCost.Caption = "UnitCost";
            this.colUnitCost.FieldName = "UnitCost";
            this.colUnitCost.Name = "colUnitCost";
            // 
            // txtStoreCode
            // 
            this.txtStoreCode.Location = new System.Drawing.Point(93, 40);
            this.txtStoreCode.MenuManager = this.ribbonControl1;
            this.txtStoreCode.Name = "txtStoreCode";
            serializableAppearanceObject1.Options.UseImage = true;
            this.txtStoreCode.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Ellipsis, "", -1, true, false, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, ((System.Drawing.Image)(resources.GetObject("txtStoreCode.Properties.Buttons"))), new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, "", null, null, true)});
            this.txtStoreCode.Properties.NullValuePrompt = "[Store Code]";
            this.txtStoreCode.Properties.NullValuePromptShowForEmptyValue = true;
            this.txtStoreCode.Size = new System.Drawing.Size(100, 20);
            this.txtStoreCode.TabIndex = 56;
            this.txtStoreCode.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.txtStoreCode_ButtonClick);
            this.txtStoreCode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtStoreCode_KeyDown);
            // 
            // labelControl1
            // 
            this.labelControl1.Location = new System.Drawing.Point(12, 118);
            this.labelControl1.Name = "labelControl1";
            this.labelControl1.Size = new System.Drawing.Size(31, 13);
            this.labelControl1.TabIndex = 10;
            this.labelControl1.Text = "Bill To:";
            // 
            // lblWithHoldingTax
            // 
            this.lblWithHoldingTax.AutoSize = true;
            this.lblWithHoldingTax.Location = new System.Drawing.Point(648, 458);
            this.lblWithHoldingTax.Name = "lblWithHoldingTax";
            this.lblWithHoldingTax.Size = new System.Drawing.Size(88, 13);
            this.lblWithHoldingTax.TabIndex = 39;
            this.lblWithHoldingTax.Text = "Withholding Tax:";
            // 
            // lblTotalLineDiscount
            // 
            this.lblTotalLineDiscount.AutoSize = true;
            this.lblTotalLineDiscount.Location = new System.Drawing.Point(433, 404);
            this.lblTotalLineDiscount.Name = "lblTotalLineDiscount";
            this.lblTotalLineDiscount.Size = new System.Drawing.Size(101, 13);
            this.lblTotalLineDiscount.TabIndex = 39;
            this.lblTotalLineDiscount.Text = "Total Line Discount:";
            // 
            // lblDocumentDate
            // 
            this.lblDocumentDate.Location = new System.Drawing.Point(541, 118);
            this.lblDocumentDate.Name = "lblDocumentDate";
            this.lblDocumentDate.Size = new System.Drawing.Size(61, 13);
            this.lblDocumentDate.TabIndex = 22;
            this.lblDocumentDate.Text = "Invoice Date";
            // 
            // lblVAT
            // 
            this.lblVAT.AutoSize = true;
            this.lblVAT.Location = new System.Drawing.Point(433, 455);
            this.lblVAT.Name = "lblVAT";
            this.lblVAT.Size = new System.Drawing.Size(30, 13);
            this.lblVAT.TabIndex = 39;
            this.lblVAT.Text = "&VAT:";
            // 
            // txtBillTo
            // 
            this.txtBillTo.Location = new System.Drawing.Point(93, 117);
            this.txtBillTo.Name = "txtBillTo";
            this.txtBillTo.Properties.ReadOnly = true;
            this.txtBillTo.Size = new System.Drawing.Size(137, 44);
            this.txtBillTo.TabIndex = 11;
            // 
            // lblGrossAmount
            // 
            this.lblGrossAmount.AutoSize = true;
            this.lblGrossAmount.Location = new System.Drawing.Point(433, 377);
            this.lblGrossAmount.Name = "lblGrossAmount";
            this.lblGrossAmount.Size = new System.Drawing.Size(78, 13);
            this.lblGrossAmount.TabIndex = 31;
            this.lblGrossAmount.Text = "Gross Amount:";
            // 
            // lblReference
            // 
            this.lblReference.Location = new System.Drawing.Point(12, 91);
            this.lblReference.Name = "lblReference";
            this.lblReference.Size = new System.Drawing.Size(79, 13);
            this.lblReference.TabIndex = 8;
            this.lblReference.Text = "Reference DR#:";
            // 
            // lblDiscount
            // 
            this.lblDiscount.AutoSize = true;
            this.lblDiscount.Location = new System.Drawing.Point(433, 430);
            this.lblDiscount.Name = "lblDiscount";
            this.lblDiscount.Size = new System.Drawing.Size(52, 13);
            this.lblDiscount.TabIndex = 33;
            this.lblDiscount.Text = "D&iscount:";
            // 
            // lblValidUntilDeliveryDate
            // 
            this.lblValidUntilDeliveryDate.Location = new System.Drawing.Point(541, 91);
            this.lblValidUntilDeliveryDate.Name = "lblValidUntilDeliveryDate";
            this.lblValidUntilDeliveryDate.Size = new System.Drawing.Size(109, 13);
            this.lblValidUntilDeliveryDate.TabIndex = 20;
            this.lblValidUntilDeliveryDate.Text = "Valid Until/Deliver Date";
            // 
            // lblContactPerson
            // 
            this.lblContactPerson.Location = new System.Drawing.Point(12, 65);
            this.lblContactPerson.Name = "lblContactPerson";
            this.lblContactPerson.Size = new System.Drawing.Size(74, 13);
            this.lblContactPerson.TabIndex = 6;
            this.lblContactPerson.Text = "Contact Person";
            // 
            // lblNetAmt
            // 
            this.lblNetAmt.AutoSize = true;
            this.lblNetAmt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblNetAmt.Location = new System.Drawing.Point(434, 482);
            this.lblNetAmt.Name = "lblNetAmt";
            this.lblNetAmt.Size = new System.Drawing.Size(66, 13);
            this.lblNetAmt.TabIndex = 41;
            this.lblNetAmt.Text = "Net Amount:";
            // 
            // cboLocation
            // 
            this.cboLocation.Location = new System.Drawing.Point(289, 15);
            this.cboLocation.MenuManager = this.barManager1;
            this.cboLocation.Name = "cboLocation";
            this.cboLocation.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.cboLocation.Size = new System.Drawing.Size(222, 20);
            this.cboLocation.TabIndex = 55;
            this.cboLocation.EditValueChanged += new System.EventHandler(this.cboLocation_EditValueChanged);
            // 
            // lblBPName
            // 
            this.lblBPName.Location = new System.Drawing.Point(12, 41);
            this.lblBPName.Name = "lblBPName";
            this.lblBPName.Size = new System.Drawing.Size(56, 13);
            this.lblBPName.TabIndex = 4;
            this.lblBPName.Text = "Cust. Name";
            // 
            // lblPostDate
            // 
            this.lblPostDate.Location = new System.Drawing.Point(541, 65);
            this.lblPostDate.Name = "lblPostDate";
            this.lblPostDate.Size = new System.Drawing.Size(65, 13);
            this.lblPostDate.TabIndex = 18;
            this.lblPostDate.Text = "Delivery Date";
            // 
            // lblBPCode
            // 
            this.lblBPCode.Location = new System.Drawing.Point(12, 15);
            this.lblBPCode.Name = "lblBPCode";
            this.lblBPCode.Size = new System.Drawing.Size(78, 13);
            this.lblBPCode.TabIndex = 0;
            this.lblBPCode.Text = "Customer Code:";
            // 
            // txtShipTo
            // 
            this.txtShipTo.Location = new System.Drawing.Point(321, 117);
            this.txtShipTo.Name = "txtShipTo";
            this.txtShipTo.Size = new System.Drawing.Size(190, 44);
            this.txtShipTo.TabIndex = 13;
            this.txtShipTo.EditValueChanged += new System.EventHandler(this.txtShipTo_EditValueChanged);
            // 
            // lblWarehouse
            // 
            this.lblWarehouse.AutoSize = true;
            this.lblWarehouse.Location = new System.Drawing.Point(236, 15);
            this.lblWarehouse.Name = "lblWarehouse";
            this.lblWarehouse.Size = new System.Drawing.Size(51, 13);
            this.lblWarehouse.TabIndex = 2;
            this.lblWarehouse.Text = "&Location:";
            // 
            // lblDocStatus
            // 
            this.lblDocStatus.Location = new System.Drawing.Point(541, 41);
            this.lblDocStatus.Name = "lblDocStatus";
            this.lblDocStatus.Size = new System.Drawing.Size(31, 13);
            this.lblDocStatus.TabIndex = 16;
            this.lblDocStatus.Text = "Status";
            // 
            // cboDocument
            // 
            this.cboDocument.Location = new System.Drawing.Point(600, 146);
            this.cboDocument.MenuManager = this.barManager1;
            this.cboDocument.Name = "cboDocument";
            this.cboDocument.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.cboDocument.Properties.Items.AddRange(new object[] {
            "DR",
            "DO",
            "SI"});
            this.cboDocument.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
            this.cboDocument.Size = new System.Drawing.Size(97, 20);
            this.cboDocument.TabIndex = 54;
            this.cboDocument.SelectedIndexChanged += new System.EventHandler(this.cboDocument_SelectedIndexChanged);
            // 
            // lblSeries
            // 
            this.lblSeries.Location = new System.Drawing.Point(541, 148);
            this.lblSeries.Name = "lblSeries";
            this.lblSeries.Size = new System.Drawing.Size(41, 13);
            this.lblSeries.TabIndex = 14;
            this.lblSeries.Text = "Series#:";
            // 
            // txtCardName
            // 
            this.txtCardName.Enabled = false;
            this.txtCardName.Location = new System.Drawing.Point(202, 40);
            this.txtCardName.Name = "txtCardName";
            this.txtCardName.Size = new System.Drawing.Size(309, 20);
            this.txtCardName.TabIndex = 5;
            // 
            // lblDocNo
            // 
            this.lblDocNo.Location = new System.Drawing.Point(541, 15);
            this.lblDocNo.Name = "lblDocNo";
            this.lblDocNo.Size = new System.Drawing.Size(88, 13);
            this.lblDocNo.TabIndex = 14;
            this.lblDocNo.Text = "Document Number";
            // 
            // txtCustRefPO
            // 
            this.txtCustRefPO.Location = new System.Drawing.Point(321, 90);
            this.txtCustRefPO.MenuManager = this.barManager1;
            this.txtCustRefPO.Name = "txtCustRefPO";
            this.txtCustRefPO.Size = new System.Drawing.Size(107, 20);
            this.txtCustRefPO.TabIndex = 53;
            this.txtCustRefPO.EditValueChanged += new System.EventHandler(this.txtCustRefPO_EditValueChanged);
            // 
            // txtContactPerson
            // 
            this.txtContactPerson.Enabled = false;
            this.txtContactPerson.Location = new System.Drawing.Point(93, 64);
            this.txtContactPerson.Name = "txtContactPerson";
            this.txtContactPerson.Size = new System.Drawing.Size(415, 20);
            this.txtContactPerson.TabIndex = 7;
            // 
            // txtDocumentNumber
            // 
            this.txtDocumentNumber.Location = new System.Drawing.Point(703, 15);
            this.txtDocumentNumber.Name = "txtDocumentNumber";
            this.txtDocumentNumber.Size = new System.Drawing.Size(128, 20);
            this.txtDocumentNumber.TabIndex = 15;
            // 
            // txtRefDoc
            // 
            this.txtRefDoc.Location = new System.Drawing.Point(703, 146);
            this.txtRefDoc.Name = "txtRefDoc";
            this.txtRefDoc.Size = new System.Drawing.Size(129, 20);
            this.txtRefDoc.TabIndex = 15;
            this.txtRefDoc.EditValueChanged += new System.EventHandler(this.txtRefDoc_EditValueChanged);
            // 
            // txtPaymentTerms
            // 
            this.txtPaymentTerms.Location = new System.Drawing.Point(480, 90);
            this.txtPaymentTerms.Name = "txtPaymentTerms";
            this.txtPaymentTerms.ReadOnly = true;
            this.txtPaymentTerms.Size = new System.Drawing.Size(31, 21);
            this.txtPaymentTerms.TabIndex = 49;
            this.txtPaymentTerms.Text = "0";
            // 
            // txtDivision
            // 
            this.txtDivision.Enabled = false;
            this.txtDivision.Location = new System.Drawing.Point(239, 141);
            this.txtDivision.Name = "txtDivision";
            this.txtDivision.Size = new System.Drawing.Size(64, 20);
            this.txtDivision.TabIndex = 15;
            this.txtDivision.Visible = false;
            this.txtDivision.EditValueChanged += new System.EventHandler(this.txtDivision_EditValueChanged);
            // 
            // dtPostDate
            // 
            this.dtPostDate.EditValue = null;
            this.dtPostDate.Location = new System.Drawing.Point(703, 64);
            this.dtPostDate.Name = "dtPostDate";
            this.dtPostDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.dtPostDate.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.dtPostDate.Properties.CalendarTimeProperties.CloseUpKey = new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.F4);
            this.dtPostDate.Properties.CalendarTimeProperties.PopupBorderStyle = DevExpress.XtraEditors.Controls.PopupBorderStyles.Default;
            this.dtPostDate.Properties.DisplayFormat.FormatString = "MM.dd.yyyy";
            this.dtPostDate.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
            this.dtPostDate.Properties.EditFormat.FormatString = "MM.dd.yyyy";
            this.dtPostDate.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
            this.dtPostDate.Properties.Mask.EditMask = "MM.dd.yyyy";
            this.dtPostDate.Size = new System.Drawing.Size(128, 20);
            this.dtPostDate.TabIndex = 19;
            this.dtPostDate.EditValueChanged += new System.EventHandler(this.dtPostDate_EditValueChanged);
            // 
            // txtReference
            // 
            this.txtReference.Location = new System.Drawing.Point(93, 90);
            this.txtReference.MenuManager = this.barManager1;
            this.txtReference.Name = "txtReference";
            this.txtReference.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.txtReference.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
            this.txtReference.Size = new System.Drawing.Size(137, 20);
            this.txtReference.TabIndex = 46;
            this.txtReference.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.txtReference_ButtonClick);
            this.txtReference.EditValueChanged += new System.EventHandler(this.txtReference_EditValueChanged);
            // 
            // dtDeliveryDate
            // 
            this.dtDeliveryDate.EditValue = null;
            this.dtDeliveryDate.Location = new System.Drawing.Point(703, 90);
            this.dtDeliveryDate.Name = "dtDeliveryDate";
            this.dtDeliveryDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.dtDeliveryDate.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.dtDeliveryDate.Properties.CalendarTimeProperties.CloseUpKey = new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.F4);
            this.dtDeliveryDate.Properties.CalendarTimeProperties.PopupBorderStyle = DevExpress.XtraEditors.Controls.PopupBorderStyles.Default;
            this.dtDeliveryDate.Properties.DisplayFormat.FormatString = "MM.dd.yyyy";
            this.dtDeliveryDate.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
            this.dtDeliveryDate.Properties.EditFormat.FormatString = "MM.dd.yyyy";
            this.dtDeliveryDate.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
            this.dtDeliveryDate.Properties.Mask.EditMask = "MM.dd.yyyy";
            this.dtDeliveryDate.Size = new System.Drawing.Size(128, 20);
            this.dtDeliveryDate.TabIndex = 21;
            this.dtDeliveryDate.EditValueChanged += new System.EventHandler(this.dtDeliveryDate_EditValueChanged);
            // 
            // txtStatus
            // 
            this.txtStatus.EditValue = "Draft";
            this.txtStatus.Location = new System.Drawing.Point(703, 40);
            this.txtStatus.MenuManager = this.ribbonControl1;
            this.txtStatus.Name = "txtStatus";
            this.txtStatus.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.OK),
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Close)});
            this.txtStatus.Properties.ReadOnly = true;
            this.txtStatus.Size = new System.Drawing.Size(128, 20);
            this.txtStatus.TabIndex = 17;
            this.txtStatus.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.txtStatus_ButtonClick);
            this.txtStatus.EditValueChanged += new System.EventHandler(this.txtStatus_EditValueChanged);
            // 
            // dtDocDate
            // 
            this.dtDocDate.EditValue = null;
            this.dtDocDate.Location = new System.Drawing.Point(703, 117);
            this.dtDocDate.Name = "dtDocDate";
            this.dtDocDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.dtDocDate.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.dtDocDate.Properties.CalendarTimeProperties.CloseUpKey = new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.F4);
            this.dtDocDate.Properties.CalendarTimeProperties.PopupBorderStyle = DevExpress.XtraEditors.Controls.PopupBorderStyles.Default;
            this.dtDocDate.Properties.DisplayFormat.FormatString = "MM.dd.yyyy";
            this.dtDocDate.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
            this.dtDocDate.Properties.EditFormat.FormatString = "MM.dd.yyyy";
            this.dtDocDate.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
            this.dtDocDate.Properties.Mask.EditMask = "MM.dd.yyyy";
            this.dtDocDate.Size = new System.Drawing.Size(128, 20);
            this.dtDocDate.TabIndex = 23;
            this.dtDocDate.EditValueChanged += new System.EventHandler(this.dtDocDate_EditValueChanged);
            // 
            // txtCardCode
            // 
            this.txtCardCode.Location = new System.Drawing.Point(93, 15);
            this.txtCardCode.MenuManager = this.ribbonControl1;
            this.txtCardCode.Name = "txtCardCode";
            serializableAppearanceObject2.Options.UseImage = true;
            this.txtCardCode.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, ((System.Drawing.Image)(resources.GetObject("txtCardCode.Properties.Buttons"))), new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject2, "", null, null, true)});
            this.txtCardCode.Size = new System.Drawing.Size(137, 22);
            this.txtCardCode.TabIndex = 1;
            this.txtCardCode.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.txtCardCode_ButtonClick);
            this.txtCardCode.EditValueChanged += new System.EventHandler(this.txtCardCode_EditValueChanged);
            this.txtCardCode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtCardCode_KeyDown);
            // 
            // txtGrossAmount
            // 
            this.txtGrossAmount.EditValue = "0.00";
            this.txtGrossAmount.Enabled = false;
            this.txtGrossAmount.Location = new System.Drawing.Point(541, 376);
            this.txtGrossAmount.Name = "txtGrossAmount";
            this.txtGrossAmount.Properties.ReadOnly = true;
            this.txtGrossAmount.Properties.ValidateOnEnterKey = true;
            this.txtGrossAmount.Size = new System.Drawing.Size(291, 20);
            this.txtGrossAmount.TabIndex = 32;
            // 
            // txtDisc1
            // 
            this.txtDisc1.EditValue = "0%";
            this.txtDisc1.Location = new System.Drawing.Point(541, 429);
            this.txtDisc1.Name = "txtDisc1";
            this.txtDisc1.Properties.Mask.BeepOnError = true;
            this.txtDisc1.Properties.Mask.EditMask = "#0.##%";
            this.txtDisc1.Properties.Mask.UseMaskAsDisplayFormat = true;
            this.txtDisc1.Size = new System.Drawing.Size(47, 20);
            this.txtDisc1.TabIndex = 34;
            this.txtDisc1.EditValueChanged += new System.EventHandler(this.txtDiscount_EditValueChanged);
            this.txtDisc1.Enter += new System.EventHandler(this.txtDiscount_Enter);
            this.txtDisc1.Leave += new System.EventHandler(this.txtDiscount_Leave);
            this.txtDisc1.Validated += new System.EventHandler(this.txtDiscount_Validated);
            // 
            // cboSalesman
            // 
            this.cboSalesman.Location = new System.Drawing.Point(96, 376);
            this.cboSalesman.Name = "cboSalesman";
            this.cboSalesman.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.cboSalesman.Properties.NullText = "[Salesman/Buyer]";
            this.cboSalesman.Size = new System.Drawing.Size(289, 20);
            this.cboSalesman.TabIndex = 28;
            this.cboSalesman.EditValueChanged += new System.EventHandler(this.cboSalesman_EditValueChanged_1);
            // 
            // txtDisc2
            // 
            this.txtDisc2.EditValue = "0%";
            this.txtDisc2.Enabled = false;
            this.txtDisc2.Location = new System.Drawing.Point(593, 429);
            this.txtDisc2.Name = "txtDisc2";
            this.txtDisc2.Properties.Mask.BeepOnError = true;
            this.txtDisc2.Properties.Mask.EditMask = "#0.##%";
            this.txtDisc2.Properties.Mask.UseMaskAsDisplayFormat = true;
            this.txtDisc2.Size = new System.Drawing.Size(49, 20);
            this.txtDisc2.TabIndex = 35;
            this.txtDisc2.EditValueChanged += new System.EventHandler(this.txtDisc2_EditValueChanged);
            this.txtDisc2.Enter += new System.EventHandler(this.txtDisc2_Enter);
            this.txtDisc2.Leave += new System.EventHandler(this.txtDisc2_Leave);
            this.txtDisc2.Validated += new System.EventHandler(this.txtDisc2_Validated);
            // 
            // btnCancel
            // 
            this.btnCancel.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat;
            this.btnCancel.Location = new System.Drawing.Point(105, 475);
            this.btnCancel.Name = "btnCancel";
            this.btnCancel.Size = new System.Drawing.Size(86, 30);
            this.btnCancel.TabIndex = 44;
            this.btnCancel.Text = "Cancel";
            this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
            // 
            // txtDisc3
            // 
            this.txtDisc3.EditValue = "0%";
            this.txtDisc3.Enabled = false;
            this.txtDisc3.Location = new System.Drawing.Point(648, 429);
            this.txtDisc3.Name = "txtDisc3";
            this.txtDisc3.Properties.Mask.BeepOnError = true;
            this.txtDisc3.Properties.Mask.EditMask = "#0.##%";
            this.txtDisc3.Properties.Mask.UseMaskAsDisplayFormat = true;
            this.txtDisc3.Size = new System.Drawing.Size(49, 20);
            this.txtDisc3.TabIndex = 36;
            this.txtDisc3.EditValueChanged += new System.EventHandler(this.txtDisc3_EditValueChanged);
            this.txtDisc3.Enter += new System.EventHandler(this.txtDisc3_Enter);
            this.txtDisc3.Leave += new System.EventHandler(this.txtDisc3_Leave);
            this.txtDisc3.Validated += new System.EventHandler(this.txtDisc3_Validated);
            // 
            // btnAdd
            // 
            this.btnAdd.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat;
            this.btnAdd.Location = new System.Drawing.Point(15, 475);
            this.btnAdd.Name = "btnAdd";
            this.btnAdd.Size = new System.Drawing.Size(84, 30);
            this.btnAdd.TabIndex = 43;
            this.btnAdd.Text = "Add";
            this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
            // 
            // txtDisc4
            // 
            this.txtDisc4.EditValue = "0%";
            this.txtDisc4.Enabled = false;
            this.txtDisc4.Location = new System.Drawing.Point(703, 429);
            this.txtDisc4.Name = "txtDisc4";
            this.txtDisc4.Properties.Mask.BeepOnError = true;
            this.txtDisc4.Properties.Mask.EditMask = "#0.##%";
            this.txtDisc4.Properties.Mask.UseMaskAsDisplayFormat = true;
            this.txtDisc4.Size = new System.Drawing.Size(49, 20);
            this.txtDisc4.TabIndex = 37;
            this.txtDisc4.EditValueChanged += new System.EventHandler(this.txtDisc4_EditValueChanged);
            this.txtDisc4.Enter += new System.EventHandler(this.txtDisc4_Enter);
            this.txtDisc4.Leave += new System.EventHandler(this.txtDisc4_Leave);
            this.txtDisc4.Validated += new System.EventHandler(this.txtDisc4_Validated);
            // 
            // txtNetAmt
            // 
            this.txtNetAmt.EditValue = "0.00";
            this.txtNetAmt.Location = new System.Drawing.Point(541, 481);
            this.txtNetAmt.Name = "txtNetAmt";
            this.txtNetAmt.Properties.ReadOnly = true;
            this.txtNetAmt.Size = new System.Drawing.Size(290, 20);
            this.txtNetAmt.TabIndex = 42;
            // 
            // txtRemarks
            // 
            this.txtRemarks.Location = new System.Drawing.Point(96, 402);
            this.txtRemarks.Name = "txtRemarks";
            this.txtRemarks.Size = new System.Drawing.Size(289, 66);
            this.txtRemarks.TabIndex = 30;
            this.txtRemarks.EditValueChanged += new System.EventHandler(this.txtRemarks_EditValueChanged);
            // 
            // txtTotalLineDiscount
            // 
            this.txtTotalLineDiscount.EditValue = "0.00";
            this.txtTotalLineDiscount.Location = new System.Drawing.Point(541, 403);
            this.txtTotalLineDiscount.Name = "txtTotalLineDiscount";
            this.txtTotalLineDiscount.Properties.ReadOnly = true;
            this.txtTotalLineDiscount.Size = new System.Drawing.Size(291, 20);
            this.txtTotalLineDiscount.TabIndex = 40;
            // 
            // txtTotalDiscount
            // 
            this.txtTotalDiscount.EditValue = "0.00";
            this.txtTotalDiscount.Location = new System.Drawing.Point(758, 429);
            this.txtTotalDiscount.Name = "txtTotalDiscount";
            this.txtTotalDiscount.Size = new System.Drawing.Size(73, 20);
            this.txtTotalDiscount.TabIndex = 38;
            // 
            // txtWithHoldingTax
            // 
            this.txtWithHoldingTax.EditValue = "0.00";
            this.txtWithHoldingTax.Location = new System.Drawing.Point(758, 455);
            this.txtWithHoldingTax.Name = "txtWithHoldingTax";
            this.txtWithHoldingTax.Properties.ReadOnly = true;
            this.txtWithHoldingTax.Size = new System.Drawing.Size(73, 20);
            this.txtWithHoldingTax.TabIndex = 40;
            // 
            // txtVAT
            // 
            this.txtVAT.EditValue = "0.00";
            this.txtVAT.Location = new System.Drawing.Point(541, 454);
            this.txtVAT.Name = "txtVAT";
            this.txtVAT.Properties.ReadOnly = true;
            this.txtVAT.Size = new System.Drawing.Size(101, 20);
            this.txtVAT.TabIndex = 40;
            // 
            // tabGLAccounts
            // 
            this.tabGLAccounts.Controls.Add(this.gridInvAcctEntries);
            this.tabGLAccounts.Controls.Add(this.ribbonCtlAR);
            this.tabGLAccounts.Name = "tabGLAccounts";
            this.tabGLAccounts.Size = new System.Drawing.Size(907, 501);
            this.tabGLAccounts.Text = "G/L Distribution";
            // 
            // gridInvAcctEntries
            // 
            this.gridInvAcctEntries.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gridInvAcctEntries.Location = new System.Drawing.Point(0, 96);
            this.gridInvAcctEntries.MainView = this.gridViewInvAcctEntries;
            this.gridInvAcctEntries.Name = "gridInvAcctEntries";
            this.gridInvAcctEntries.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.txtAcctCode,
            this.txtAmount});
            this.gridInvAcctEntries.Size = new System.Drawing.Size(907, 405);
            this.gridInvAcctEntries.TabIndex = 43;
            this.gridInvAcctEntries.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridViewInvAcctEntries});
            // 
            // gridViewInvAcctEntries
            // 
            this.gridViewInvAcctEntries.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.AcctCode,
            this.AcctName,
            this.Particulars,
            this.colDebit,
            this.colCredit});
            this.gridViewInvAcctEntries.GridControl = this.gridInvAcctEntries;
            this.gridViewInvAcctEntries.GroupSummary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
            new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Debit", this.colDebit, "#,###,###,###.00"),
            new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Credit", this.colCredit, "#,###,###,###.00")});
            this.gridViewInvAcctEntries.Name = "gridViewInvAcctEntries";
            this.gridViewInvAcctEntries.OptionsNavigation.AutoFocusNewRow = true;
            this.gridViewInvAcctEntries.OptionsView.ShowFooter = true;
            this.gridViewInvAcctEntries.OptionsView.ShowGroupPanel = false;
            this.gridViewInvAcctEntries.KeyDown += new System.Windows.Forms.KeyEventHandler(this.gridViewInvAcctEntries_KeyDown);
            // 
            // AcctCode
            // 
            this.AcctCode.Caption = "G/L Account Code";
            this.AcctCode.ColumnEdit = this.txtAcctCode;
            this.AcctCode.DisplayFormat.FormatString = "d";
            this.AcctCode.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
            this.AcctCode.FieldName = "AcctCode";
            this.AcctCode.Name = "AcctCode";
            this.AcctCode.Visible = true;
            this.AcctCode.VisibleIndex = 0;
            this.AcctCode.Width = 179;
            // 
            // txtAcctCode
            // 
            this.txtAcctCode.AutoHeight = false;
            this.txtAcctCode.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.txtAcctCode.Name = "txtAcctCode";
            this.txtAcctCode.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.txtAcctCode_ButtonClick_1);
            this.txtAcctCode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtAcctCode_KeyDown);
            // 
            // AcctName
            // 
            this.AcctName.Caption = "G/L Account Name";
            this.AcctName.FieldName = "AcctName";
            this.AcctName.Name = "AcctName";
            this.AcctName.OptionsColumn.AllowEdit = false;
            this.AcctName.OptionsColumn.TabStop = false;
            this.AcctName.Visible = true;
            this.AcctName.VisibleIndex = 1;
            this.AcctName.Width = 269;
            // 
            // Particulars
            // 
            this.Particulars.Caption = "Particulars";
            this.Particulars.FieldName = "Particulars";
            this.Particulars.Name = "Particulars";
            this.Particulars.Visible = true;
            this.Particulars.VisibleIndex = 2;
            this.Particulars.Width = 269;
            // 
            // colDebit
            // 
            this.colDebit.Caption = "Debit";
            this.colDebit.ColumnEdit = this.txtAmount;
            this.colDebit.FieldName = "DebitAmt";
            this.colDebit.Name = "colDebit";
            this.colDebit.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
            new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum)});
            this.colDebit.Visible = true;
            this.colDebit.VisibleIndex = 3;
            this.colDebit.Width = 197;
            // 
            // txtAmount
            // 
            this.txtAmount.AutoHeight = false;
            this.txtAmount.Name = "txtAmount";
            // 
            // colCredit
            // 
            this.colCredit.Caption = "Credit";
            this.colCredit.FieldName = "CreditAmt";
            this.colCredit.Name = "colCredit";
            this.colCredit.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
            new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum)});
            this.colCredit.Visible = true;
            this.colCredit.VisibleIndex = 4;
            this.colCredit.Width = 192;
            // 
            // ribbonCtlAR
            // 
            this.ribbonCtlAR.ExpandCollapseItem.Id = 0;
            this.ribbonCtlAR.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
            this.ribbonCtlAR.ExpandCollapseItem,
            this.barSaveARDistribution,
            this.barClear,
            this.barPostEntries,
            this.barNewEntry});
            this.ribbonCtlAR.Location = new System.Drawing.Point(0, 0);
            this.ribbonCtlAR.MaxItemId = 11;
            this.ribbonCtlAR.Name = "ribbonCtlAR";
            this.ribbonCtlAR.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
            this.ribbonARInvoiceGLMenu});
            this.ribbonCtlAR.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide;
            this.ribbonCtlAR.ShowToolbarCustomizeItem = false;
            this.ribbonCtlAR.Size = new System.Drawing.Size(907, 96);
            this.ribbonCtlAR.Toolbar.ShowCustomizeItem = false;
            this.ribbonCtlAR.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden;
            this.ribbonCtlAR.Click += new System.EventHandler(this.ribbonCtlAR_Click);
            // 
            // barSaveARDistribution
            // 
            this.barSaveARDistribution.Caption = "Save";
            this.barSaveARDistribution.Glyph = ((System.Drawing.Image)(resources.GetObject("barSaveARDistribution.Glyph")));
            this.barSaveARDistribution.Id = 1;
            this.barSaveARDistribution.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barSaveARDistribution.LargeGlyph")));
            this.barSaveARDistribution.Name = "barSaveARDistribution";
            this.barSaveARDistribution.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barSaveARDistribution_ItemClick);
            // 
            // barClear
            // 
            this.barClear.Caption = "Clear Entries";
            this.barClear.Glyph = ((System.Drawing.Image)(resources.GetObject("barClear.Glyph")));
            this.barClear.Id = 4;
            this.barClear.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barClear.LargeGlyph")));
            this.barClear.Name = "barClear";
            this.barClear.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barClear_ItemClick);
            // 
            // barPostEntries
            // 
            this.barPostEntries.Caption = "Post Entries";
            this.barPostEntries.Glyph = ((System.Drawing.Image)(resources.GetObject("barPostEntries.Glyph")));
            this.barPostEntries.Id = 8;
            this.barPostEntries.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barPostEntries.LargeGlyph")));
            this.barPostEntries.Name = "barPostEntries";
            this.barPostEntries.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barPostEntries_ItemClick);
            // 
            // barNewEntry
            // 
            this.barNewEntry.Caption = "New Entry";
            this.barNewEntry.Glyph = ((System.Drawing.Image)(resources.GetObject("barNewEntry.Glyph")));
            this.barNewEntry.Id = 9;
            this.barNewEntry.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barNewEntry.LargeGlyph")));
            this.barNewEntry.Name = "barNewEntry";
            this.barNewEntry.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barNewEntry_ItemClick);
            // 
            // ribbonARInvoiceGLMenu
            // 
            this.ribbonARInvoiceGLMenu.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
            this.ribbonDataGroup});
            this.ribbonARInvoiceGLMenu.Name = "ribbonARInvoiceGLMenu";
            this.ribbonARInvoiceGLMenu.Text = "G/L Distribution Menu";
            // 
            // ribbonDataGroup
            // 
            this.ribbonDataGroup.ItemLinks.Add(this.barNewEntry);
            this.ribbonDataGroup.ItemLinks.Add(this.barSaveARDistribution);
            this.ribbonDataGroup.ItemLinks.Add(this.barPostEntries);
            this.ribbonDataGroup.ItemLinks.Add(this.barClear, true);
            this.ribbonDataGroup.Name = "ribbonDataGroup";
            this.ribbonDataGroup.Text = "Documents";
            // 
            // cntxtRightClickMenu
            // 
            this.cntxtRightClickMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.duplicateToolMenu,
            this.toolStripSeparator2,
            this.distributionToolStripMenuItem,
            this.addRowToolStripMenuItem,
            this.insertNewRowToolStripMenuItem,
            this.deleteRowToolStripMenuItem,
            this.toolStripSeparator1,
            this.copyToReturnMenuItem});
            this.cntxtRightClickMenu.Name = "SalesOrderContext";
            this.cntxtRightClickMenu.Size = new System.Drawing.Size(167, 148);
            // 
            // duplicateToolMenu
            // 
            this.duplicateToolMenu.Name = "duplicateToolMenu";
            this.duplicateToolMenu.Size = new System.Drawing.Size(166, 22);
            this.duplicateToolMenu.Text = "Duplicate";
            this.duplicateToolMenu.Click += new System.EventHandler(this.duplicateToolMenu_Click);
            // 
            // toolStripSeparator2
            // 
            this.toolStripSeparator2.Name = "toolStripSeparator2";
            this.toolStripSeparator2.Size = new System.Drawing.Size(163, 6);
            // 
            // distributionToolStripMenuItem
            // 
            this.distributionToolStripMenuItem.Name = "distributionToolStripMenuItem";
            this.distributionToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
            this.distributionToolStripMenuItem.Text = "Distribution Entry";
            this.distributionToolStripMenuItem.Click += new System.EventHandler(this.distributionToolStripMenuItem_Click);
            // 
            // addRowToolStripMenuItem
            // 
            this.addRowToolStripMenuItem.Name = "addRowToolStripMenuItem";
            this.addRowToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
            this.addRowToolStripMenuItem.Text = "Add New Row";
            this.addRowToolStripMenuItem.Click += new System.EventHandler(this.addRowToolStripMenuItem_Click);
            // 
            // insertNewRowToolStripMenuItem
            // 
            this.insertNewRowToolStripMenuItem.Name = "insertNewRowToolStripMenuItem";
            this.insertNewRowToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
            this.insertNewRowToolStripMenuItem.Text = "Insert New Row";
            this.insertNewRowToolStripMenuItem.Click += new System.EventHandler(this.insertNewRowToolStripMenuItem_Click);
            // 
            // deleteRowToolStripMenuItem
            // 
            this.deleteRowToolStripMenuItem.Name = "deleteRowToolStripMenuItem";
            this.deleteRowToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
            this.deleteRowToolStripMenuItem.Text = "Delete Row";
            this.deleteRowToolStripMenuItem.Click += new System.EventHandler(this.deleteRowToolStripMenuItem_Click);
            // 
            // toolStripSeparator1
            // 
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(163, 6);
            // 
            // copyToReturnMenuItem
            // 
            this.copyToReturnMenuItem.Enabled = false;
            this.copyToReturnMenuItem.Name = "copyToReturnMenuItem";
            this.copyToReturnMenuItem.Size = new System.Drawing.Size(166, 22);
            this.copyToReturnMenuItem.Text = "Copy To Return";
            this.copyToReturnMenuItem.Click += new System.EventHandler(this.copyToReturnMenuItem_Click);
            // 
            // toolStrip1
            // 
            this.toolStrip1.Location = new System.Drawing.Point(0, 49);
            this.toolStrip1.Name = "toolStrip1";
            this.toolStrip1.Size = new System.Drawing.Size(911, 25);
            this.toolStrip1.TabIndex = 69;
            this.toolStrip1.Text = "toolStrip1";
            // 
            // SalesInvoice
            // 
            this.AllowDisplayRibbon = false;
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(911, 569);
            this.Controls.Add(this.xtrInvoiceScrollable);
            this.Controls.Add(this.toolStrip1);
            this.Controls.Add(this.barDockControlLeft);
            this.Controls.Add(this.barDockControlRight);
            this.Controls.Add(this.barDockControlBottom);
            this.Controls.Add(this.barDockControlTop);
            this.Controls.Add(this.barDockControl1);
            this.Controls.Add(this.barDockControl4);
            this.Controls.Add(this.barDockControl2);
            this.Controls.Add(this.barDockControl3);
            this.Controls.Add(this.ribbonControl1);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "SalesInvoice";
            this.Ribbon = this.ribbonControl1;
            this.Text = "A/R Invoice";
            this.Load += new System.EventHandler(this.SalesInvoice_Load);
            this.Shown += new System.EventHandler(this.SalesInvoice_Shown);
            this.Resize += new System.EventHandler(this.SalesInvoice_Resize);
            ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
            this.MktgDocContext.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.popUpCopyWizard)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.barManager2)).EndInit();
            this.contextMenuStrip1.ResumeLayout(false);
            this.xtrInvoiceScrollable.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
            this.xtraTabControl1.ResumeLayout(false);
            this.tabDetails.ResumeLayout(false);
            this.xtraScrollableControl1.ResumeLayout(false);
            this.xtraScrollableControl1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gridControlSI)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridViewSI)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnSearchItemCode)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cboUnitMeasure)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtQty)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cboLotNumber)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkFree)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtLineDiscPercent)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtLineDiscount)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtStoreCode.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtBillTo.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cboLocation.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtShipTo.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cboDocument.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtCardName.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtCustRefPO.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtContactPerson.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtDocumentNumber.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtRefDoc.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtDivision.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtPostDate.Properties.CalendarTimeProperties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtPostDate.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtReference.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtDeliveryDate.Properties.CalendarTimeProperties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtDeliveryDate.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtStatus.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtDocDate.Properties.CalendarTimeProperties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtDocDate.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtCardCode.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtGrossAmount.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtDisc1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cboSalesman.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtDisc2.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtDisc3.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtDisc4.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtNetAmt.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtRemarks.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtTotalLineDiscount.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtTotalDiscount.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtWithHoldingTax.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtVAT.Properties)).EndInit();
            this.tabGLAccounts.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gridInvAcctEntries)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridViewInvAcctEntries)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtAcctCode)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtAmount)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ribbonCtlAR)).EndInit();
            this.cntxtRightClickMenu.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private DevExpress.XtraBars.BarDockControl barDockControlLeft;
        private System.Windows.Forms.ImageList IconList;
        private DevExpress.XtraBars.BarDockControl barDockControlBottom;
        private DevExpress.XtraBars.BarManager barManager1;
        private DevExpress.XtraBars.BarDockControl barDockControlTop;
        private DevExpress.XtraBars.BarDockControl barDockControlRight;
        private System.Windows.Forms.ToolStripMenuItem CloseDocument;
        private System.Windows.Forms.ToolStripMenuItem CancelDocument;
        private System.Windows.Forms.ContextMenuStrip MktgDocContext;
        private System.Windows.Forms.Timer timerInfo;
        private DevExpress.XtraBars.Ribbon.RibbonControl ribbonControl1;
        private System.Windows.Forms.ImageList imageList1;
        private DevExpress.XtraBars.BarButtonItem barCopyToSO;
        private DevExpress.XtraBars.BarButtonItem barSalesInvoice;
        private DevExpress.XtraBars.BarButtonItem barSalesDelivery;
        private DevExpress.XtraBars.BarButtonItem barSalesReturn;
        private DevExpress.XtraBars.BarButtonItem barSalesCreditMemo;
        private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage1;
        private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup1;
        private DevExpress.XtraBars.PopupMenu popUpCopyWizard;
        private DevExpress.XtraBars.BarDockControl barDockControl1;
        private DevExpress.XtraBars.BarDockControl barDockControl4;
        private DevExpress.XtraBars.BarDockControl barDockControl2;
        private DevExpress.XtraBars.BarDockControl barDockControl3;
        private System.Windows.Forms.ImageList imageList2;
        private DevExpress.XtraBars.BarManager barManager2;
        private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1;
        private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem2;
        private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
        private System.Windows.Forms.Timer timer1;
        private DevExpress.XtraEditors.XtraScrollableControl xtrInvoiceScrollable;
        private DevExpress.XtraEditors.ButtonEdit txtStatus;
        private DevExpress.XtraEditors.ButtonEdit txtCardCode;
        private DevExpress.XtraGrid.GridControl gridControlSI;
        private DevExpress.XtraGrid.Views.Grid.GridView gridViewSI;
        private DevExpress.XtraGrid.Columns.GridColumn Code;
        private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit btnSearchItemCode;
        private DevExpress.XtraGrid.Columns.GridColumn Description;
        private DevExpress.XtraGrid.Columns.GridColumn UnitMeasure;
        private DevExpress.XtraGrid.Columns.GridColumn UnitPrice;
        private DevExpress.XtraGrid.Columns.GridColumn Quantity;
        private DevExpress.XtraGrid.Columns.GridColumn Discount;
        private DevExpress.XtraGrid.Columns.GridColumn LineDisc;
        private DevExpress.XtraEditors.Repository.RepositoryItemCalcEdit txtLineDiscount;
        private DevExpress.XtraGrid.Columns.GridColumn Amount;
        private DevExpress.XtraEditors.LookUpEdit cboSalesman;
        private DevExpress.XtraEditors.SimpleButton btnCancel;
        private DevExpress.XtraEditors.SimpleButton btnAdd;
        private DevExpress.XtraEditors.TextEdit txtNetAmt;
        private DevExpress.XtraEditors.TextEdit txtVAT;
        private DevExpress.XtraEditors.TextEdit txtTotalDiscount;
        private DevExpress.XtraEditors.MemoEdit txtRemarks;
        private DevExpress.XtraEditors.TextEdit txtDisc4;
        private DevExpress.XtraEditors.TextEdit txtDisc3;
        private DevExpress.XtraEditors.TextEdit txtDisc2;
        private DevExpress.XtraEditors.TextEdit txtDisc1;
        private DevExpress.XtraEditors.TextEdit txtGrossAmount;
        private DevExpress.XtraEditors.LabelControl lblDocumentDate;
        private DevExpress.XtraEditors.LabelControl lblValidUntilDeliveryDate;
        private DevExpress.XtraEditors.LabelControl lblPostDate;
        private DevExpress.XtraEditors.LabelControl lblDocStatus;
        private DevExpress.XtraEditors.LabelControl lblDocNo;
        private DevExpress.XtraEditors.DateEdit dtDocDate;
        private DevExpress.XtraEditors.DateEdit dtDeliveryDate;
        private DevExpress.XtraEditors.DateEdit dtPostDate;
        private DevExpress.XtraEditors.TextEdit txtDocumentNumber;
        private DevExpress.XtraEditors.LabelControl labelControl1;
        private DevExpress.XtraEditors.LabelControl lblReference;
        private DevExpress.XtraEditors.LabelControl lblContactPerson;
        private DevExpress.XtraEditors.TextEdit txtContactPerson;
        private DevExpress.XtraEditors.TextEdit txtCardName;
        private DevExpress.XtraEditors.LabelControl lblBPName;
        private DevExpress.XtraEditors.LabelControl lblBPCode;
        private System.Windows.Forms.Label lblWarehouse;
        private System.Windows.Forms.Label lblVAT;
        private System.Windows.Forms.Label lblGrossAmount;
        private System.Windows.Forms.Label lblDiscount;
        private System.Windows.Forms.Label lblShipTo;
        private System.Windows.Forms.Label lblNetAmt;
        private DevExpress.XtraEditors.MemoEdit txtShipTo;
        private DevExpress.XtraEditors.MemoEdit txtBillTo;
        private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit txtQty;
        private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit txtLineDiscPercent;
        private DevExpress.XtraEditors.TextEdit txtTotalLineDiscount;
        private System.Windows.Forms.Label lblTotalLineDiscount;
        private DevExpress.XtraGrid.Columns.GridColumn Free;
        private DevExpress.XtraGrid.Columns.GridColumn TotalLineDisc;
        private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit chkFree;
        private DevExpress.XtraEditors.ButtonEdit txtReference;
        private System.Windows.Forms.TextBox txtPaymentTerms;
        private System.Windows.Forms.Label label1;
        private DevExpress.XtraGrid.Columns.GridColumn GuID;
        private DevExpress.XtraEditors.LabelControl lblSeries;
        private DevExpress.XtraEditors.TextEdit txtDivision;
        private DevExpress.XtraEditors.TextEdit txtRefDoc;
        private DevExpress.XtraGrid.Columns.GridColumn RowColNum;
        private DevExpress.XtraEditors.LabelControl lblRemarks;
        private DevExpress.XtraEditors.LabelControl lblSalesMan;
        private DevExpress.XtraGrid.Columns.GridColumn QtyServed;
        private DevExpress.XtraEditors.Repository.RepositoryItemComboBox cboUnitMeasure;
        private DevExpress.XtraGrid.Columns.GridColumn CQtyOrder;
        private DevExpress.XtraGrid.Columns.GridColumn CQty;
        private DevExpress.XtraEditors.LabelControl labelControl4;
        private DevExpress.XtraEditors.TextEdit txtCustRefPO;
        private DevExpress.XtraEditors.ComboBoxEdit cboDocument;
        private System.Windows.Forms.ContextMenuStrip cntxtRightClickMenu;
        private System.Windows.Forms.ToolStripMenuItem duplicateToolMenu;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
        private System.Windows.Forms.ToolStripMenuItem addRowToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem insertNewRowToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem deleteRowToolStripMenuItem;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
        private System.Windows.Forms.ToolStripMenuItem copyToReturnMenuItem;
        private DevExpress.XtraEditors.LookUpEdit cboLocation;
        private DevExpress.XtraEditors.ButtonEdit txtStoreCode;
        private DevExpress.XtraEditors.TextEdit txtWithHoldingTax;
        private System.Windows.Forms.Label lblWithHoldingTax;
        private DevExpress.XtraEditors.SimpleButton btnCopyToSR;
        private DevExpress.XtraGrid.Columns.GridColumn PriceListCode;
        private System.Windows.Forms.ToolStripMenuItem distributionToolStripMenuItem;
        private DevExpress.XtraGrid.Columns.GridColumn colLotNumber;
        private DevExpress.XtraEditors.Repository.RepositoryItemComboBox cboLotNumber;
        private DevExpress.XtraGrid.Columns.GridColumn colUnitCost;
        private DevExpress.XtraTab.XtraTabControl xtraTabControl1;
        private DevExpress.XtraTab.XtraTabPage tabDetails;
        private DevExpress.XtraTab.XtraTabPage tabGLAccounts;
        private DevExpress.XtraBars.Ribbon.RibbonControl ribbonCtlAR;
        private DevExpress.XtraBars.Ribbon.RibbonPage ribbonARInvoiceGLMenu;
        private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonDataGroup;
        private DevExpress.XtraBars.BarButtonItem barSaveARDistribution;
        private DevExpress.XtraBars.BarButtonItem barClear;
        private System.Windows.Forms.ToolStrip toolStrip1;
        private DevExpress.XtraBars.BarButtonItem barPostEntries;
        private DevExpress.XtraBars.BarButtonItem barNewEntry;
        private DevExpress.XtraGrid.GridControl gridInvAcctEntries;
        private DevExpress.XtraGrid.Views.Grid.GridView gridViewInvAcctEntries;
        private DevExpress.XtraGrid.Columns.GridColumn AcctCode;
        private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit txtAcctCode;
        private DevExpress.XtraGrid.Columns.GridColumn AcctName;
        private DevExpress.XtraGrid.Columns.GridColumn Particulars;
        private DevExpress.XtraGrid.Columns.GridColumn colDebit;
        private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit txtAmount;
        private DevExpress.XtraGrid.Columns.GridColumn colCredit;
        private DevExpress.XtraEditors.XtraScrollableControl xtraScrollableControl1;
    }
}